package io.adminboot.service;

import io.adminboot.domain.form.LoginForm;
import io.adminboot.entity.User;

public interface UserService {

	User queryByMobile(String mobile);

	/**
	 * 用户登录
	 * 
	 * @param form
	 *            登录表单
	 * @return 返回用户ID
	 */
	User login(LoginForm form);

	User getById(Long object);

	void insert(User user);
}
